package com.ch.light.web.service;

import com.ch.light.mybatis.ParamFilter;
import com.ch.light.web.model.DataSourceConfig;

import java.util.List;

/**
 * 描述：com.ch.light.web.service
 *
 * @author 80002023
 *         2017/5/13.
 * @version 1.0
 * @since 1.8
 */
public interface DataSourceConfigService {
    DataSourceConfig findByCode(String code);

    int add(DataSourceConfig record);

    int update(DataSourceConfig record);

    int updateByCode(DataSourceConfig record);

    List<DataSourceConfig> getList(ParamFilter paramFilter);
}
